{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                    时间         温度\n",
      "4  2023-09-13 04:00:00  63.612274\n",
      "7  2023-09-13 07:00:00  62.649279\n",
      "8  2023-09-13 08:00:00  55.563563\n",
      "10 2023-09-13 10:00:00  59.050174\n",
      "19 2023-09-13 19:00:00  61.943282\n",
      "20 2023-09-13 20:00:00  63.049911\n",
      "23 2023-09-13 23:00:00  65.085754\n"
     ]
    }
   ],
   "source": [
    "import pandas as pd\n",
    "\n",
    "# 读取Excel文件\n",
    "file_path = '2023-09-13.xlsx'\n",
    "df = pd.read_excel(file_path)\n",
    "\n",
    "# 假设温度列的名称是'Temperature'\n",
    "# 提取温度大于55的行\n",
    "filtered_df = df[df['温度'] > 55]\n",
    "\n",
    "# 显示结果\n",
    "print(filtered_df)\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
